package com.example.api;

import co.elastic.apm.attach.ElasticApmAttacher;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients(basePackages="com.example.api.feign")
public class OrderApplication {

	public static void main(String[] args) {
		ElasticApmAttacher.attach();
		SpringApplication.run(OrderApplication.class, args);
	}
}
